package org.example.Server.model.paper;

import lombok.Data;

import org.example.Server.model.question.QSelect;

import java.util.List;

/**
 * 试卷-题型-显示选择题
 */
@Data
public class PaperSelect extends PaperFormat {
    /**
     * Integer paper_id;
     * String qs_type;//试题类型
     * Integer paper_format_id;//主键
     * String format_content;//命名
     * <p>
     * Double format_score;//该题型总分
     * Integer format_qs_cnt;//该题型总数
     */
    List<QSelect> items;//题目以及选项
    public PaperSelect(){}
    public PaperSelect(PaperFormat paperFormat) {
        this.paper_id=paperFormat.getPaper_id();
        this.paper_format_id=paperFormat.getPaper_format_id();
        this.qs_type=paperFormat.getQs_type();
        this.format_content=paperFormat.getFormat_content();
        this.format_score=paperFormat.getFormat_score();
        this.format_qs_cnt=paperFormat.getFormat_qs_cnt();
    }
}
